package com.undsf.graphics;

import java.awt.*;
import java.awt.image.BufferedImage;

/**
 * Created by Arathi on 2015/05/06.
 */
public class ExtBufferedImage extends BufferedImage {
    public ExtBufferedImage(int width,
                            int height,
                            int imageType){
        super(width, height, imageType);
    }

    public Point getCenter(){
        return new Point(getWidth()/2, getHeight()/2);
    }
}
